#pragma once 

//#include "FlyTypedef.h"

typedef int					inttype;
typedef DXRenderDevice		RenderDeviceClass;
typedef WindowPlatform		PlatformClass;

class FlyEngine
{
public:
	FlyEngine();
	~FlyEngine();

	void Init( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow );
	void Tick( unsigned deltaTime );
	void Render();

	HWND GetWnd()	
	{ 
		if ( m_pPlatform )
			return m_pPlatform->GetWnd();
		return NULL;
	}

public:
	PlatformClass*	   m_pPlatform;
	RenderDeviceClass* m_pRenderDevice;
};

